package top.oylan.manager.service;

import top.oylan.manager.entity.Banner;
import top.oylan.manager.tools.Pager;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author abduahad
 * @Description ${description}
 * @Date 2019-04-21
 */
public interface BannerService {

    List<Banner> selectBannersByPager(Pager<Banner> pager);

    Banner findById(Integer id);

    int saveBanner(Banner banner);

    int updateById(Banner banner,Integer id);

    int deleteById(Integer id);

    ArrayList<Banner> selectBannerByPosition(int i);
}
